///@file Variable.cpp
///@brief Implementation of the class to represent a generic variable
///@author Arnaud Duval
///@version 0.0
///@date 2011/03/03

#include "Variable.h"

///@brief Default constructor
Variable::Variable()
{
    name = "";
    value = 0.;
}

///@brief Copy constructor
///@param v Variable object to copy
Variable::Variable(const Variable& v)
{
    name = v.name;
    value = v.value;
}

///@brief Constructor with arguments
///@param Dname name of the variable
///@param Dvalue value of the variable
Variable::Variable(std::string Dname, double Dvalue)
{
    name = Dname;
    value = Dvalue;
}

///@brief Destructor
Variable::~Variable()
{

}


